package com.lyj.book.dao.mappper;

import com.lyj.book.dao.model.BookUser;
import com.lyj.book.dao.model.BookUserExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface BookUserMapper {
    int countByExample(BookUserExample example);

    int deleteByExample(BookUserExample example);

    int insert(BookUser record);

    int insertSelective(BookUser record);

    List<BookUser> selectByExample(BookUserExample example);

    int updateByExampleSelective(@Param("record") BookUser record, @Param("example") BookUserExample example);

    int updateByExample(@Param("record") BookUser record, @Param("example") BookUserExample example);
}